package com.pentalog.bo.impl;

import org.springframework.stereotype.Service;

import com.pentalog.bo.StringReveralService;
@Service
public class StringReversalServiceImpl implements StringReveralService {
	public String reverse(String anyString) {
		if (anyString == null || anyString.trim().length() == 0) {
			return "";
		}
		return new StringBuilder(anyString).reverse().toString();
	}
}
